﻿using System.Web.Mvc;

namespace Rapid.MvcApplication.Areas.Manage
{
    public class ManageAreaRegistration : AreaRegistration
    {
        public override string AreaName { get { return "Manage"; } }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                name: "Manage_default",
                url: "Manage/{controller}/{action}",
                defaults: new { controller = "Home", action = "Index" },
                namespaces: new string[] { "Rapid.MvcApplication.Areas.Manage.Controllers" }
            );
        }
    }
}